package com.jb.faces.application;

import com.jb.faces.event.ActionListener;

import java.util.HashMap;
import java.util.Map;


public class Application {
    ActionListener actionListener;
    Map map = new HashMap();
    ViewHandler viewHandler;

    public ActionListener getActionListener() {
        return actionListener;
    }

    public Map getAttributes() {
        return map;
    }
    
    public void setAttribute(Object key, Object value) {
        map.put(key, value);
    }

    public Object getAttribute(Object key) {
        return map.get(key);
    }

    public ViewHandler getViewHandler() {
        return viewHandler;
    }
}
